Everything Totally Explained


Ask & we'll explain, totally!
TI BASIC (TI 99/4A)
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Ti Basic Ti 99 4a totally explained

» This article is about the TI-99/4A Home Computer programming language. For the calculator language, see TI-BASIC (calculators) (note: hyphen between "TI" and "BASIC" in that one).TI BASIC was a dialect of BASIC for the Texas Instruments TI-99/4A Home Computer (1981), developed under contract to Microsoft by Bob Wallace and Bob Greenberg. A version supporting compiled code was also used as a commercial development language for the TI-990 range of minicomputers.

TI BASIC was built into the 99/4 and 99/4A, and was remarkably easy to learn. Users could access functions through this simple language that on other computers would only be available to those versed in the machines' assembly language code. Text, full screen graphics, logic operations, and recording to tape (or any other file system - diskettes, RS-232 interface, RAM disks) could all be accomplished using TI BASIC. TI also produced an Extended BASIC cartridge that greatly enhanced the functionality accessible to BASIC users.

Elements of TI BASIC

Statements

The statements of TI BASIC are CALL, CLOSE, DATA, DEF, DIM, END, FOR..TO..STEP, GOSUB, GOTO, IF..THEN..ELSE, INPUT, LET, NEXT, ON..GOSUB, ON..GOTO, OPEN, OPTION BASE, PRINT, RANDOMIZE, READ, REM, RESTORE, RETURN, STOP
   Every line of TI BASIC can only contain one statement. The possibility to put several statements in a line with :: became available in TI Extended BASIC and the necessary PEEK and LOAD calls to use assembly language routines. Note that there's no POKE statement in TI BASIC. Loading and executing machine code requires a 32K memory expansion and the TI Editor/Assembler cartridge, which then gives access CALL LOAD. The 256 Bytes of RAM directly accessible by the CPU was mostly consumed by the BASIC interpreter. TI BASIC stored and ran programs from the 16K video RAM, and, unlike TI Extended BASIC, couldn't take advantage of the 32K memory expansion.

Functions

Subprograms

Subprograms are called with CALL statement (for example CALL CLEAR). There are no user defined subprograms (This is possible in TI Extended BASIC), but some subprograms are predefined:
  • CHAR Definition of graphical characters
  • CLEAR Clears the screen
  • COLOR Defines foreground- and background color for 8 characters
  • GCHAR Reads one character at a specified position from the screen
  • HCHAR Writes a character to a screen position and repeats it horizontally
  • JOYST Returns the position of the joystick
  • KEY Reads from the keyboard without echo on the screen
  • SCREEN Changes the color of the screen
  • SOUND Creates sounds (using a frequency) and noise
  • VCHAR Writes a character to a screen position and repeats it vertically

    Execution speed

    One serious shortcoming of TI BASIC was that, as an interpreted rather than compiled language, it was inherently slow. TI BASIC was a double interpreted language, as the BASIC interpreter was itself written in a mid-layer interpreted byte-code language known as Graphics Programming Language (GPL), which was unique to the TI Home Computer. TI Extended BASIC improved execution speed somewhat by providing some functionality in assembly language.

    Further Information

    Get more info on 'Ti Basic Ti 99 4a'.


    External Link Exchanges

    Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

      <a href="http://ti_basic__ti_99_4a.totallyexplained.com">TI BASIC (TI 99/4A) Totally Explained</a>

    Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
       As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



  • Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
    This article contains text from the Wikipedia article TI BASIC (TI 99/4A) (History) and is released under the GFDL | RSS Version